package top.ichengyi.springai.starter.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.ArrayList;
import java.util.List;

/**
 * AI模型配置属性
 */
@ConfigurationProperties(prefix = "spring.ai")
@Data
public class MultiModelProperties {

    private List<ModelConfig> models = new ArrayList<>();
    private String defaultModel = "openai-gpt35";

    @Data
    public static class ModelConfig {
        private String name;
        private String provider;
        private String apiKey;
        private String model;
        private String baseUrl;
        private Double temperature;
    }
}